import request from '@/utils/request'

// 查询资金管理列表
export function listBalanceLog(query) {
  return request({
    url: '/wms/balanceLog/list',
    method: 'get',
    params: query
  })
}

// 查询资金管理详细
export function getBalanceLog(serial) {
  return request({
    url: '/wms/balanceLog/' + serial,
    method: 'get'
  })
}

// 新增资金管理
export function addBalanceLog(data) {
  return request({
    url: '/wms/balanceLog',
    method: 'post',
    data: data
  })
}

// 修改资金管理
export function updateBalanceLog(data) {
  return request({
    url: '/wms/balanceLog',
    method: 'put',
    data: data
  })
}

// 删除资金管理
export function delBalanceLog(serial) {
  return request({
    url: '/wms/balanceLog/' + serial,
    method: 'delete'
  })
}
